<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/XMLSchema.xsd" xmlns:mstns="http://tempuri.org/XMLSchema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Vector3">
    <xs:sequence>
      <xs:element name="X" type="xs:float" />
      <xs:element name="Y" type="xs:float" />
      <xs:element name="Z" type="xs:float" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Material">
	  <xs:all>
		  <xs:element name="Type" type="xs:string" />
		  <xs:element name="DiffuseMap" type="Map" />
		  <xs:element name="NormalMap" type="Map" />
		  <xs:element name="HeightMap" type="Map" />
		  <xs:element name="Colour" type="Vector3" />
		  <xs:element name="DetailMap" type="Map" />
		  <xs:element name="Contrast" type="xs:float" />
		  <xs:element name="EmissiveColour" type="Vector3" />
	  </xs:all>
  </xs:complexType>
  <xs:complexType name="TextureTransform">
	  <xs:all>
		  <xs:element name="Center" type="Vector2" />
      <xs:element name="Scale" type="Vector2" />
      <xs:element name="Rotate" type="xs:float" />
      <xs:element name="Translate" type="Vector2" />
    </xs:all>
	</xs:complexType>
  <xs:complexType name="Vector2">
    <xs:sequence>
      <xs:element name="X" type="xs:float" />
      <xs:element name="Y" type="xs:float" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Map">
    <xs:all>
      <xs:element name="Name" type="xs:string" minOccurs="1" />
      <xs:element name="Transform" type="TextureTransform" />
    </xs:all>
  </xs:complexType>
  <xs:element name="Material" type="Material">
  </xs:element>
</xs:schema>